<%@page import="org.apache.jasper.tagplugins.jstl.core.Out"%>
<%@page import="com.xyz.Film"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<%@include file="/jsp/films/include/filmHeader.jsp" %>

<div id="content">
		
 	<div id="name"><c:out value="${thisFilm.title}"/>(<c:out value="${thisFilm.year}"/>)<br/></div>
 	<ul>
 		<c:forEach var="genre" items="${thisFilm.genres}">
 		<li>${genre}</li> 
 		</c:forEach>
 	</ul>
 	
	
	<div>
		<img src="${thisFilm.posterWay}"/>
		<div id="text">
			<c:out value="${thisFilm.text}"/>
		</div>
		<div>
			<form method="post" name="filmForm" action="/mainpr/AddDisc">
<!-- 				<p><input type="text" name="filmID" id="filmID"/></p> -->
<!-- 				<p><input type="text" name="filmID1" id="filmID1"/></p> -->

				<input type="text" value="${thisFilm.id}" name="film"  style="display: none;" />
							
				<p><label>
					<input type="checkbox" name="check1"/>DVD
				</label></p>
				
				<p><label>
					<input type="checkbox" name="check2"/>Blue-Ray
				</label></p>
				
				<p>
					<input type="submit" name="submButton" value="У корзину" />
					<input type="reset" name="resButton" value="Скинути"/>
					<br>
					
				</p>
				
			</form>
		</div>
	</div>
	
	
	
</div>


<%@include file="/jsp/includes/footer.jsp" %>